#include <iostream>

using namespace std;

class Dgg
{
public:
    Dgg(int x): _goal(x){}
    int _goal;
};

class Point
{
public:
    Point(int cx,int & rx,const Dgg & dx);
    void print();

private:
    const int _cx;
    int & _rx;
    Dgg _dx;
    static int _sx;
};
int Point::_sx = 1000;

Point::Point(int cx,int & rx,const Dgg & dx): _cx(cx), _rx(rx), _dx(dx)
{}

void test()
{
    int a = 10;
    Point p(1, a, Dgg(100));
}

int main()
{
    test();
    return 0;
}

